|
|
|
|
|
|
|
Note The Coolbar control is found in the Windows Common Controls 6.0-3 (MSCOMCT3.OCX). |
|
|
|
|
|
|
|
|
|
Start by adding the Coolbar control to the form; then draw the two toolbars onto the coolbar (see Figure 4.13). Then, set the properties of each control as shown in Table 4.3. |
|
|
|
|
|
|
|
|
Figure 4.13.
Adding the Toolbar controls to the coolbar. |
|
|
|
|
| TABLE 4.3. COOLBAR PROJECT CONTROLS. | | Control | Property | Value | | Coolbar | Name | clbDemo | | Align | Top | | Toolbar | Name | tlbBar1 | | Appearance | ccFlat | | Toolbar | Name | tlbBar2 | | Appearance | ccFlat |
|
|
|
|
|
|
Now, using the property page, assign each toolbar to a band as shown in Figure 4.14. |
|
|
|
|
|
|
|
|
Figure 4.14.
Assigning the Child control property
for each Coolbar band. |
|
|
|
|
|